


import 'package:httpplugin/httpplugin.dart' show HttpTickContainer;
import 'request.dart';


class AppRequest {

  /// 微信获取token
  static const String userWeChatAccessToken = "oauth2/access_token";

  // 上传文件
  static const String uploadImage = "data/image";

  /// 网络图片
  static const String networkImage = "network/image--";


  // TODO: 其余的 请求key

  /// 所有请求
  static Map<String, HttpTickContainer Function()> request = {
    userWeChatAccessToken: ()=> WeChatAuth(),
    uploadImage: ()=> UploadImage(),
    networkImage: ()=> NetworkImage()
  };
}